package com.sciencep.pro.core.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sciencep.pro.core.dao.PowerMapper;
import com.sciencep.pro.core.domain.dto.power.PowerTO;
import com.sciencep.pro.core.domain.entity.Power;
import com.sciencep.pro.core.service.IPowerService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Sciencep
 */
@Service
public class PowerServiceImpl extends ServiceImpl<PowerMapper, Power> implements IPowerService {

    @Override
    public List<PowerTO> getList(String roleId) {
        return baseMapper.getList(roleId);
    }
}
